<?php
@$shoujianren=$_REQUEST['shoujianren'];
if(!empty($shoujianren)){
    $pdo=new PDO('mysql:dbname=shuju;charset=utf8','root');
    $use=$pdo->prepare('select adm from customerLogin where adm=:aa');
    $use->execute(array('aa'=>$shoujianren));
    $data=$use->fetchAll(PDO::FETCH_NAMED);

    $use1=$pdo->prepare('select admin from yuangong where admin=:bb');
    $use1->execute(array('bb'=>$shoujianren));
    $data1=$use1->fetchAll(PDO::FETCH_NAMED);

    if(!empty($data) || !empty($data1)){
        echo "true";exit();
    }else{
        echo "false";exit();
    }
}
?>